

#ifndef UC_MASK_OPE_H_
#define UC_MASK_OPE_H_

#define GET_BYTE_NUM(num) (((num + 7) >> 3))
#define SET_BIT(value, bit) ((value) |= (1 << (bit)))
#define CLEAR_BIT(value, bit) ((value) &= (~(1 << (bit))))
#define JUDGMENT_BIT(value, bit) (((value) >> (bit)) & 1)
#define GET_BIT(value, bit) (((value) >> (bit)) & 1)


#endif

